﻿namespace dPet.Domain.Specifications
{
	using dPet.Domain.Models;
	using Hangerd.Specification;

	public class ProductCategorySpecifications
	{
		public static Specification<ProductCategory> IdEquals(string id)
		{
			return new DirectSpecification<ProductCategory>(c => c.Id == id);
		}

		public static Specification<ProductCategory> HospitalIdEquals(string hospitalId)
		{
			return new DirectSpecification<ProductCategory>(c => c.HospitalId == hospitalId);
		}

		public static Specification<ProductCategory> NameEquals(string name)
		{
			return new DirectSpecification<ProductCategory>(c => c.Name == name);
		}
	}
}
